package com.fortune.service;

import java.util.List;

import com.fortune.dto.in.mChannelDiscount.MChannelDiscountAddDto;
import com.fortune.dto.in.mChannelDiscount.MChannelDiscountDeleteDto;
import com.fortune.dto.in.mChannelDiscount.MChannelDiscountEditDto;
import com.fortune.dto.in.mChannelDiscount.MChannelDiscountListDto;
import com.fortune.entity.MUserInfo;
import com.fortune.vo.mChannelDiscount.MChannelDiscount;

public interface MChannelDiscountServer {
	/**
	 * 查询列表
	 * @param listDto
	 * @return
	 */
	public List<MChannelDiscount> list(MUserInfo mUserInfo,MChannelDiscountListDto listDto);
	
	int  count(MUserInfo mUserInfo,MChannelDiscountListDto listDto);
	/**
	 * 添加
	 * @param addDto
	 * @return
	 */
	public int add(MUserInfo mUserInfo,MChannelDiscountAddDto addDto);
	/**
	 * 编辑
	 * @param editDto
	 * @return
	 */
	public int edit(MUserInfo mUserInfo,MChannelDiscountEditDto editDto);
	/**
	 * 删除
	 * @param deleteDto
	 * @return
	 */
	public int delete(MUserInfo mUserInfo,MChannelDiscountDeleteDto deleteDto);
}
